import Vue from 'vue'
import Router from 'vue-router' 
import Login from '@/modules/Login'
import Role from "@/modules/Role"
import Home from "@/modules/Home"

Vue.use(Router);

var indexRouter = new Router({
  routes: [{
    path: '/',
    name: 'Login',
    component: Login,
    hidden: true
  },{
    path:"/Role",
    name:"Role",
    component:Role,
    hidden: true
  },{
    path:"/Home",
    name:"主页",
    component:Home,
    hidden:true
  }]
})

export default indexRouter;
